Changed the structure. Introduced attributes and new options.