Fix a bug in the Interactor class

Use protected attribute instead of private attribute, otherwise it
won't be accessible in subclasses.