Fixed data api init and normal init methods.