Improved exception messages for unknown macros and functions
The macros are automatically imported from parent templates