Parameters handling refactor. Moved prevalidation to Core class