diff --git a/library/Drakojn/Io/Mapper/Map.php b/library/Drakojn/Io/Mapper/Map.php
index <HASH>..<HASH> 100644
--- a/library/Drakojn/Io/Mapper/Map.php
+++ b/library/Drakojn/Io/Mapper/Map.php
@@ -1,6 +1,9 @@
 <?php
 namespace Drakojn\Io\Mapper;
 
+use InvalidArgumentException;
+use ReflectionObject;
+
 class Map
 {
     protected $localName;
@@ -90,16 +93,16 @@ class Map
      * Extract values from a given object
      * @param object $object
      * @return array
-     * @throws \InvalidArgumentException
+     * @throws InvalidArgumentException
      */
     public function getData($object)
     {
         if(!$this->validateObject($object)){
-            throw new \InvalidArgumentException(
+            throw new InvalidArgumentException(
                 "Given object isn\'t instance of {$this->localName}"
             );
         }
-        $reflection = new \ReflectionObject($object);
+        $reflection = new ReflectionObject($object);
         $data = [];
         foreach(array_keys($this->properties) as $localProperty){
             $property = $reflection->getProperty($localProperty);
@@ -116,6 +119,6 @@ class Map
      */
     public function validateObject($object)
     {
-        return is_a($object, $this->localName);
+        return ($object instanceof $this->localName);
     }
 }
Import namespaces on top of file

- Use of `instanceof` operator instead `is_a()`