Add a couple more useful functions