Move common dependencies to common header.
Commit missing file, add format.