Fix some errors on namespaces/dependencies/commandLink