finished implementation of object/psclass validation