Depend on apis 1.2.7, with type info
Fixed dependencies, removed dep. on a lot of apis-internal stuff.