better API for creating deformers