Replace old methods with :accessor.