Replacing magic string with constant