Why is this import here instead of at the top of the file?