Changed each mode to a Voldemort type
Fixed private declaration issue (DMD 2.061)