Added block validation.