Add BlockCocoa, move random as protected static field to BlockType