setAppId -> initApp because it's colliding with property appId.