Move reference table to velocity macro.