Reduce code duplication by aliasing method