Add constants to clarify magic codes