Add a couple of convenience functions: