Added shareable annotation to encoder