Fixed some issues with type and method lookup inside blocks