Make sure foreign key properties are fully registered