Bug fixes and added a class.type( ) function