Change subpackage list to be immutable.