Fixed setpart bug. Everything *appears* to be working.