Add ``code`` attribute. Improve readme.