Added a reeeeally awesome convenience function.