Namespace check when adding datatypes
Updated some stubs that were in the wrong place
Error on duplicate dcon/tcon