Added use of rvalue references for perfect forwarding.