Made multiple corrections after further testing.

Removed unnecessary class APIMethod. Added interface argument to
APIQuery __init__.