Issue #2907 - Show imports for Akka sample code

Fixes #2907.