Removed FromPrimType for &str

The existing implementation just threw a runtime error.