Implement import 'name'

Fixes #524, #453