Removed unused private methods.