Added passing messages of a specific type