start emitting TypeMember sql. still need to add fptrs.