Added implements to gen-stubs