Helper functions wrapping golang's reflect lib