Added more API methods.