Add error for no block given