Changes to libraries and occurrence loading