Fixed issues when defining filters and pipelines. Fixed missing use and imports. Still passing bolt and spout names properly should be fixed.