Optimising methods and methods calls