Config validator: Make sure that objects are not abstract.

Fixes #6148