Fix a lot of compile errors :(

For some reason, IDEA removed all Preconditions import.