Removed useless std::forward calls.
Replaced insert by emplace. There should be less temporaries.
Fixed Function constructor.
Merge pull request #17 from Morwenn/more_correctness

Works for me...!