Re-add removed lines to add to weak ServerContext cache in Invokables to keep BC.
This should be no conflict to the lookup caching, since lookups get reused from that cache anyway.