Convert micro template into AMD module.