- added more config settings that may be useful for statistics
- don't access context so often (avoid reflection)