Centralized library and library-manager base classes.