Added array-style API calls