Added Polymorphic repository trait and deletable trait.