Fix FromStr path.
Fix enum namespace.