[wallace] adding parent method to Element class