generates interface field accessors