Adding in methods from Titanium.
Query now works.
Added in vertex methods.