Removing call to non-existent method _init() and accepting string parameters for all endpoint calls