Fixed rand methods.