Some bits for the API