Inhere class in extension