Fixes warnings
enum from_s