Added block callbacks & factory methods.