Add travisci badge
Handle non-static callable class functions