Removed redundant method that has been moved to helper.