NPMap.Layer.add method is now asynchronous and checks for layerHandler require