Generalize the custom methods