Replaced the NumberType enum with regular constants.

Removed lots of redundant code comments.