Correctly use reflection