Fix method_caching mistake. (#22)