Hashes on right hand side of library elements to avoid double-linkage.

(cherry picked from commit fb4bbb0e0d1381755a61634e5f781a355fe3a9b3)