Make hostname and hostname_method available