total overhaul of method path handling