Still need to find out how to get the variable struct-type for constraint->data to work correctly. Any ideas brecht?