Replace magic string with constants