How does Hierarchy work with the Software Library and package replication?