Extract FakeRegisters

Signed-off-by: Lennart Fridén <lennart@devl.se>