FIX: reusing the name of a statically compiled object for a dynamically created object crashes the compiler on path usage.
TESTS: added dynamic method calls tests.