Added hosts_inherit method, implements #3