[Refactor] Adding some final keyword before switch