Added "type" pattern