For some reasons, it was not implemented in `BaseDefaultCodecs`. This issue adds it to fix this inconsistency.