Add configurable version
Added namespace parameter.
Allow whitespaces.