Add accessor to the editor