Moved #defines to common.