Take into account better reflection API practices