Implemented simple methods id caching and some bugs fixed