remove private_constant so that it works with older ruby versions