Using generic version of calling a class name Ref: #4043

Instead of using `$this->data['User']` changed to a generic version : `$this->data[$this->alias]`