Sure, I had this in a static method at first so I had to use F::app() but then copied it here.