1. Dropped Class.cast call from base getBehavior implementation - not actually needed
2. Modified behaviors map example in doc comments - dropped all excessive checks, map integrity is assumed