Remove the type attribute/method