Fix some signature issues (const&/&&).