Cleaned up Component.js.