Added parentheses to some function calls for consistency.