Prevent creating empty block.