Added doc and example removed unused options