Fixing notices thrown up by travis