Added configurable messages for class switching