Remove unnecessary shell function