Code cleanup. Create some constants.