Simplify the array for template structure. It's unmanageable otherwise.

Also, check the template function is actually callable.