Fix Declaration incompatability error. Props flynsarmy