Fix some issues with Textile.