updates to reflection api.