Remove setKey of API