Added Entity API access callback (for services, mostly). Little code clean.