Extract methods and paths