Use interfaces as extension class.