updated to newest reflection stuff.