Fixed type of library handler.