Changed deprecated construct. Hopefully Mr. Travis will be happy now.