Parser returns appropriate class when no namespace is used