Added prototype node-type filtering