Refactor into multiple data source definitions.
Use the provided callback.