Add lifecycle methods to Target interface.
Remove redundant commands in travis config.