Extract magic constant into class const property