Added several new convenience functions.