Fixed bug in akka support with function messages