Adds Random and All methods to repositories