Add library option for page method.  Fixes #46.