Added consumes and produces to php templates.