WICKET-5518 support unmodifiable collections as well as models without
setter