Added methods that need to be in every viewmodel.