Added abstract entity & inheritance.