Changed to return either all or a specific one.