We could change this to be setParameter so that we can declare in json not only an icon but any parameter for a template. Let me know if you think it would be useful.