Properly parameterize hosts class