Cleaned up ViewPatterns usage and corrected decodeNode