title: Nightwatch: Override Function in Page Object
body: <p>I have created a page object model in Nightwatch but I would like to override some functions for customization. How would I achieve that? </p>
  
  <pre><code>module.exports = {
  url: 'http://localhost:63916/Login/Login', 
  
  commands: [{
      navigateToImportBatch() {
          this
              .click('@importManager')
              .click('@importBatch')
  
              return this.api;
      }
  };
  </code></pre>
  
  <p>How can I override the navigateToImportBatch function? Thanks. </p>