Return unmodifiable copy for querying

Signed-off-by: Chris <zidane@outlook.com>