Generalizing CSP-related results to infinite algebras