title: CoffeeScript class results in empty object
body: <p>I have a file 'a.coffee', with the following code:</p>
  
  <pre><code>class Options
    options:
      # ...
  
    setOption: (name, value) -&gt;
      # ...
  
    getOption: (name) -&gt;
      # ...
  
  # Export the Options class.
  module.exports = Options
  </code></pre>
  
  <p>And file 'b.coffee':</p>
  
  <pre><code>Options = require './a'
  console.log new Options()
  </code></pre>
  
  <p>Of course, it is expected that when I run b.coffee, I will see this output:</p>
  
  <pre><code>{
    options: ...,
    setOption: function (name, value),
    getOption: function (name)
  }
  </code></pre>
  
  <p>But instead, I get <code>{}</code>.</p>
  
  <p>How can I fix this?</p>