Fix scope errors
Travis and docs