Unify collision operations in a single file.

There is no simple and clean way to set collision operations from two files,
so a less-elegant monolythic specification has been chosen.