Fixed error message namespaces in core