Allow pinning for apt repositories

Also extended the class documentation