Declarations for getters. Add return value.

This commit adds declarations for the getter functions added
previously and adds an omitted return value to one of the getters.