Removed redundant logging functions.