Pass optional callback argument to modules