Add alias feature and optimize history feature footprint