Added optional to parents property