Added numeric params validation in scaffolding (refs #16)