Allowing LibraryResolver to overload library type.