Use the more readable types for the generic decoder functions' type annotations.