Fix import statements.
Print device serial number if available.