generating aliases for curried factories on proto