Add templates for GLenums with dynamic length.