VID-1664 Use $this rather than F::app()