Add full share functionality and updated some tests.