Please avoid using requireApp. We'd like to deprecate it (see bug 978103) but haven't done so yet.