Optimising API's.