Remove ConfigKeys and Attributes static factories and use constructors with explicit generics to allow TypeToken usage