Remove throws in public getters

Getters with throws can cause serialization problems.