Allow self type in block spec