Cleans up neutron code