Removes some constants-declaration hardcoding makes it easier to extend later.