Added missing braces for method-call.