Added custom blocks and size method.
Added tests for the custom blocks method.