Add brackets around method definition.