Closure compiler type definitions, style cleanup