Better API interface.