cleaning up Reflector class with array_map