Maybe fully qualify the location of those constants, or accept strings.  Otherwise it's not quite clear where to find them.