Added support for multiple protcols within single app.