I think we're not using $app to access $wg variables and wf methods, but we still use it to access methods defined in WikiaApp.class.php