Method resolving and drawing optimizations