Add view support into controller