Added necessary parenthesis in method calls