Update Travis-CI configuration.
Add `safe_` prefix to all methods.