Rip out library replacement functions.