OK, I'll define it at as a String -> String map in the constructor as well then, instead of casting?