Remove magic numbers to class constants