Remove redundant syntax type.

A method declaration serves perfectly well as a function-property-assignment in an object literal.