Clean some unneeded and dubious SE code