Add events and methods support for view and sideview.