Renamed a method.
Added some constants.