Change AWSHelperFn to Ref. Also solves line length problem in travis.