For abstract implementation the getType method needs to check whether it
is of the correct type (correctly done for the other components).