Use more specific return types in SXSSF, which avoids casts, and also fix some long-standing TODOs on 1904 dates