Add functionality to call any hash method on recursive struct