Generic actor constructor