Moved the parsing of the parent element from init to parse_element to account for multiple generation inheritance