Cache and optimize Entity.delegated; fix doc