Accepting traits and abstract classes as Contexts