TSLint fixes and tweaks.