Implement FromStr for Element