Added legend classes, removed extend

Extend is now default.