Inteligent wrapper.

Close #7.