Maintain array of handled codes. Add tests + regression