Added Extendable EntitySet trait and factory class.