By moving the processing of Stream Management elements into the StreamManager implementation, duplicated code can be removed.