Fixing annoying generics for commit types and its derivatives.