Added back implicit style retrieval for libraries.