there is no default value for hostname anymore
remove unnecessary includes