Remove prototype and fix syntax.