Make learn return self to allow chain function calls