implements Reflector class.