The external dependencies should be moved to the top of the file.