prod_types can now be deleted (conditional) and fixed an error on upgrade where constructor could not be called