disable original constructor on api client