Standardize ruby API