Added another typing convenience function