adding amap and amapMethods to wrapper