Adding the `button` parameter and fixing the documentation.