Removed redundant helper methods.