Add getters for bean fields.