Updated method parsing