Added component mode & stylePath property. No longer use scripts_.