added stripping types for flowtype