fixes #3140 - API to allow importing of puppet classes