Divorce may include custody agreements