Removed redundant method calls.