Fix type in core BaseView