Fixed the way methods' arguments were handled