Fixes #566. Document creation of custom upload widget