Added the rep function to string and object namespaces.