Moved authorized functions to header.  Resolves #12.