Pasteboard.pm: Add document and some tiny performance up.