Implement register interface for accessing register values.