Make the __getattr__ mechanism in StateMonitor Python3-compatible (we should document/implement a standard mechanism for this, we are using it in several places)