FIX: dynamic method calls checking not working for paths with size > 2.