Fix seek return value; Clear structure on init; add DB to _type.