Adding max length for registers
documentation