How Can I Programmatically Manipulate Definition