Remove specs for preserving local variables.