Remove unecessary method which removes decorators for hidden and hash elements

Remove unecessary method which removes decorators for hidden and hash
elements