Add some preprocessing