Add handler for struct definitions