With the above suggestion, add a check for the default `library_block !== null` before defining the block option.