Implementeds all options.