Added operator module.
Added 'hash' and 'type' attributes to all data types. Removed 'hash' and 'type' functions.