Remove unused middleware
Fix Travis config