Change parent? to type.nil? again