Fixed typos
Move some utility code from _loader to _objects