Deleted useless global declaration
Updated some documentation