Remove useless const on returned enum class.
Fix unused parameter warnings.

Also marked functions with the override keyword.