Any reason to use getter method rather than attribute here? We don't do that for hostname etc so feels like inconsistency.