swr: use designated initializers for the class.