make View interfacde compatible with Slim