Added specs to pattern so we can introspec important information to optimize some query of name patterns in databases.