Fix backwards compatibility
Add Travis badge