Adding client-side functionalities.