Simplify handling of generic type attributes