Investigating alkaline phosphatase and ketosteroid isomerase by rational design