Add type filtering to get-operations and get-types