Helper methods for prettier shell scripting