Fixed a typo and removed printing from the library