Add getDate and getEnabled methods. Fix setEnabled.