Added in check for type NSBlock