DB sets inheritance

- Made DB sets inheritable for contexts deriving main context.