unnecassary methods deleted and exception mechanism added for nonexistent active record objects