Added various convenience functions