Added some more library procedures.