Remove boolval, cast instead.