This function will be deleted entirely in 0.6 I put the import here so it is easy to get rid of at the same time.