Fix inherits statement