Mix-in layers for creating network applications