Fix namespace declaration

The whole file now won't be cleared if `Function` or `Variable`
namespace declaration found.
Merge pull request #21 from Kildyt/namespace_declaration

Fix namespace declaration