Updated viewmodel accessor to access the viewmodel where we want it to.