Make code executable
Change HostAlloc to HostRegister
Move HostRegister