Add documentation for callback usage with record/set.