Extra code to remove figures for page count purposes