Making some common global helpers.