This should fix the 'generics not supported' error in Travis-CI