Replaced the usage of int by std::size
Pass keywords as && in the keywords function