APIs for Libraries