getInstance returns AbstractBlock class