Extra attributes fix

This pull request contains a fix for the problem raised in Issue #3