changed some getters to return unmodifiable collections for consistency.