Delete useless methods

Delete the SwitchOn and the SwitchOff methods because the lighted
attribute is public.