Access to 'this' within autocomplete functions

Access to 'this' within autocomplete functions

Hi,

Is there a way to get access to the element on which an autocomplete method is applied, from within the functions used in the autcomplete options.
The way you normally can do it using "this" would be so nice to have.

For example, instead of the not-so maintainable 
  1. $('#project').autocomplete({
  2. focus: function(event, ui) {
  3. $('#project').val(ui.item.label);
  4. return false;
  5. },
  6. });
have
  1. $('#project').autocomplete({
  2. focus: function(event, ui) {
  3. $(this).val(ui.item.label);
  4. return false;
  5. },
  6. });