Removes sub-module