Wraps datauri module with template support