Changes to common D style and adds purity