fleshing out the reflection api.