Removing helper function in favor of API addition.

Thanks @fabiosantoscode