Add documentation to fit and predict methods.