Workaround for component.js bug.