[v1.0-rc1] Added getFunctions method for Objects and Collection. Debug code removed and Object Exceptions added