Custom methods in various data structures