Add an exception when an instance is mapped twice