Replaced push functions by emplace functions.