Added documentation to the library and removed support for a couple non-standard functions.