simplified interface for defining exporters