Better gen-server generics