EG: renamed source/sink to callback for consistency