Refactor magic datetime fields.

created_at and last_modified_at should be the exact same datetime. Use setattr
instead of instance attribute to appease PyLint.