ENH: Make sure mle returns attach to results.

Rebase on #1365 once travis is green before merging.