Fixed returning reference to temporary.