#46 implemented method and field caching