Automated accessor generation