use View in BlockView class otherwise legacy getThemePath() doesn't work