Cleaned up actor config and added import error propagation.
Small cleanup refactor.