Fixed #4: method attribute is always set to 'install'