Remove arguments from promise callback