Now processing methods. Lots of regex fixes. Code is dirty, needs to be refactored.