Just trying to make plugin from google's NSD example...