Added html Writable and WritableSpec. Some minor cleanup.