Defines mutation methods on client and server side