Remove references to context and isShared in SlugTree

Signed-off-by: Tom Wright <tom@inflatablecookie.com>