morphClass to namespace