Fix accessors in library classes