Shortened the reflection code for creating the constructor