Add a better error message for unknown widgets