add stub beforeInit and afterInit methods to base viewmodel