Refactor 1-bit register