refactor(notify): Push typeof fn calls into function