remove swift from class declaration.

as it has been deprecated.

Change-Id: I665c45e747f6fcba100f230dc9e355fdb45f77d0