Support for nested override
Improve documentation and fix comparison to be more consistent