Now setting default for DocumentationScope value and fixed NullPointerEx...

Now setting default for DocumentationScope value and fixed NullPointerException thrown due to previous change coz scope could be null if its not defined.