Pipeline validation in separated class.