Making sure that only BasicEnties can be registered in the Transaction [sequel-datasets]