Added return value in BlockModel function.