Only include MiddleClass if it hasn't already been included.