Some simple API exercises