Update methods in code blocks to have opening brace at the new line