Fixed grammar for finished functions