Fix error when parameter is named "delegate"