Fix travis slack notification.

[skip ci]
Move methods to keep consistency with directory layout.