Fix syntax error at 'inherits'