Add some convenience APIs