unify table macros; use cell macros as callbacks