Switched to using Erubis directly.