CGE2: Implement helper functions connected to Hero.

Also rework Hero::len() during the process.