Added dynamic method support for Component + test.