Added .exists(namespace) utility, fixed a bug with retrieving of types when no type given.