Using template property of view.