Idea for specifying a custom stream source. Not finished or tested.