Added more methods to process various elements.