Allow more complex python expressions