Fixing issues in actor coding.