Adapting to changes in library