Got rid of the use of sun's Reflection class.