In an optional manner. Not mandatorily.
In an unnecessary way; not by necessity.
To an extent beyond what is needed.