Preserve the original linked item state.

Fixes #3
Fix dependencies to automatically pick the latest