That is fine, generally I prefer provided but most of the hadoop ecosystem uses optional so I have converted.

Will update.