Add extension method tryAllMembers to Box class

Prevents nil reference exceptions that can occur when trying to retrieve
all Box members.