Resolve conflicts.
Define some predef globals.