Made sprites more generic.