Allow discover to search for specific types
Fixed formatting and whitespace