WICKET-5350 keep setObject for backwards compatibility