Extracted reflection/dynamic code.