Improved actor implementation