Pyrax workaround for 'No identity class has been defined for the current environment'