Remove "pre" and unused functions.