Fixed bug with ContextProperty name and namespace was not set