Fixed some functions that were getting stripped out.