Change extends class