Allow overriding of element value restore.