Added a macro for a missing convenience function.