Updated reflection API usage.