Simpler reflect code