%template functions within extend should still be marked as "feature:extend"