Fix bugs with recent API update. Requesting objects without names was erroneously returning random objects instead of inserting new ones. Also removed a couple of methods made redundant after regeneration of classes from new templates.