Smart Extensions docs. Pass EntryFun as a function