Fixes aurajs/aura#204

Changes related to aurajs/aura#245