Added argument check in storage model creation