Fixed warnings by removing unnecessary parameter :host