Reduce mccabe complexity of main.
Complete fields information.
Remove possible children from schema.