Implement control registers.