Move modeling API outside of block package.