Change methods to class constants