Better reflection getter and setter