Fixing some problems in doc block