Change some weird constants to inline values