Convenience function.