Update for API change (dockIcon -> icon).