Allow passing parameters to append_apikey method