dev: Added validation with assertation lib.